#/bin/bash
javac aos/voting/ClientNode.java
javac aos/voting/ServerNode.java
echo "Manifest-Version: 1.0" > MANIFEST.MF
echo "Main-Class: aos.voting.ClientNode" >> MANIFEST.MF
echo ""
jar cvfm VotingClient.jar MANIFEST.MF aos
echo "Manifest-Version: 1.0" > MANIFEST.MF
echo "Main-Class: aos.voting.ServerNode" >> MANIFEST.MF
echo ""
jar cvfm VotingServer.jar MANIFEST.MF aos
rm MANIFEST.MF
